import java.util.Scanner;

public class CircleTest {
    public static void main(String[] args) {
        Circle a=new Circle();
        Scanner in=new Scanner(System.in);
        System.out.println("输入半径");
        a.setR(in.nextDouble());
        double r=a.getR();
        double mianji=a.mianji();
        System.out.println("面积"+mianji);
        double zhouchang=a.zhouchang();
        System.out.println("周长"+zhouchang);
    }
}
